class Admin::BaseController < ApplicationController

  before_filter :require_authorization

  layout 'admin'

  private
    def require_authorization
      if @account == nil or !@account.is_admin
        redirect_to account_login_path
      end
    end
end